package com.luhongda.music.common;

import lombok.Builder;
import lombok.Data;

@Data
@Builder
public class RequestDto {

    private int pageSize;

    private int pageNo;

    private Integer type;

    public void setType(Integer type) {
        if (type == null) {
            type = 1;
        } else {
            this.type = type;
        }
    }
}
